<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: LE Legacy Mode Advertising and Scanning</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__wicedbt___legacy.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">LE Legacy Mode Advertising and Scanning</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>This section contains the legacy mode advertisement and scanning defines, structures and functions. </p>
<dl class="section note"><dt>Note</dt><dd>Applications should invoke functions in this section if and only if the application wishes to use only legacy mode for advertisement and scanning </dd></dl>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__btm__ble__adv__scan__functions"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__adv__scan__functions.html">Advertisement &amp; Scan</a></td></tr>
<tr class="memdesc:group__btm__ble__adv__scan__functions"><td class="mdescLeft">&#160;</td><td class="mdescRight">This section provides functions for LE advertisement and LE scan operations. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__btm__ble__multi__adv__functions"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__multi__adv__functions.html">MultiAdv</a></td></tr>
<tr class="memdesc:group__btm__ble__multi__adv__functions"><td class="mdescLeft">&#160;</td><td class="mdescRight">This section describes Multiple Advertisement API, using this interface application can enable more than one advertisement train. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__bt__ble__scan__results__t.html">wiced_bt_ble_scan_results_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">LE inquiry result type.  <a href="structwiced__bt__ble__scan__results__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__bt__ble__multi__adv__params__t.html">wiced_bt_ble_multi_adv_params_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">LE Multi advertising parameter.  <a href="structwiced__bt__ble__multi__adv__params__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae3ba16e014add5799d4b298344cb5984"><td class="memItemLeft" align="right" valign="top"><a id="gae3ba16e014add5799d4b298344cb5984"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#gae3ba16e014add5799d4b298344cb5984">BTM_BLE_LEGACY_AD_DATA_LEN</a>&#160;&#160;&#160;31</td></tr>
<tr class="memdesc:gae3ba16e014add5799d4b298344cb5984"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max legacy advertisement data len. <br /></td></tr>
<tr class="separator:gae3ba16e014add5799d4b298344cb5984"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9367f8902700749fba1acce4f379ebf7"><td class="memItemLeft" align="right" valign="top"><a id="ga9367f8902700749fba1acce4f379ebf7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga9367f8902700749fba1acce4f379ebf7">MULTI_ADV_TX_POWER_MIN_INDEX</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga9367f8902700749fba1acce4f379ebf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multi adv tx min power index. <br /></td></tr>
<tr class="separator:ga9367f8902700749fba1acce4f379ebf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bdd613b7804ef9942e691f74d9e8b6f"><td class="memItemLeft" align="right" valign="top"><a id="ga2bdd613b7804ef9942e691f74d9e8b6f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga2bdd613b7804ef9942e691f74d9e8b6f">MULTI_ADV_TX_POWER_MAX_INDEX</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga2bdd613b7804ef9942e691f74d9e8b6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multi adv tx max power index. <br /></td></tr>
<tr class="separator:ga2bdd613b7804ef9942e691f74d9e8b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga6d09736846bcb960a4fd36934d24bfef"><td class="memItemLeft" align="right" valign="top"><a id="ga6d09736846bcb960a4fd36934d24bfef"></a>
typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga6d09736846bcb960a4fd36934d24bfef">wiced_bt_ble_scanner_filter_policy_t</a></td></tr>
<tr class="memdesc:ga6d09736846bcb960a4fd36934d24bfef"><td class="mdescLeft">&#160;</td><td class="mdescRight">LE Scanner filter policy (see <a class="el" href="group__wicedbt___legacy.html#gab38fa8e6fee21aa2f6f1aa9dd1194516" title="Scanner filter policy.">wiced_bt_ble_scanner_filter_policy_e</a>) <br /></td></tr>
<tr class="separator:ga6d09736846bcb960a4fd36934d24bfef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fe613f743f42d5ef6e8278686aad75c"><td class="memItemLeft" align="right" valign="top"><a id="ga4fe613f743f42d5ef6e8278686aad75c"></a>
typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga4fe613f743f42d5ef6e8278686aad75c">wiced_bt_dev_ble_evt_type_t</a></td></tr>
<tr class="memdesc:ga4fe613f743f42d5ef6e8278686aad75c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scan result event value (see <a class="el" href="group__wicedbt___legacy.html#ga8b68ab04e941d86c922eabbcd4be2322" title="Scan result event type.">wiced_bt_dev_ble_evt_type_e</a>) <br /></td></tr>
<tr class="separator:ga4fe613f743f42d5ef6e8278686aad75c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60bed9d170be5754f637844eb070bcd3"><td class="memItemLeft" align="right" valign="top"><a id="ga60bed9d170be5754f637844eb070bcd3"></a>
typedef int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga60bed9d170be5754f637844eb070bcd3">wiced_bt_ble_adv_tx_power_t</a></td></tr>
<tr class="memdesc:ga60bed9d170be5754f637844eb070bcd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmit Power in dBm ( <a class="el" href="group__wicedbt___legacy.html#ga9367f8902700749fba1acce4f379ebf7" title="Multi adv tx min power index.">MULTI_ADV_TX_POWER_MIN_INDEX</a> to <a class="el" href="group__wicedbt___legacy.html#ga2bdd613b7804ef9942e691f74d9e8b6f" title="Multi adv tx max power index.">MULTI_ADV_TX_POWER_MAX_INDEX</a> ) <br /></td></tr>
<tr class="separator:ga60bed9d170be5754f637844eb070bcd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b230bb2ed817386a6067735d397272b"><td class="memItemLeft" align="right" valign="top"><a id="ga9b230bb2ed817386a6067735d397272b"></a>
typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga9b230bb2ed817386a6067735d397272b">wiced_bt_ble_multi_advert_type_t</a></td></tr>
<tr class="memdesc:ga9b230bb2ed817386a6067735d397272b"><td class="mdescLeft">&#160;</td><td class="mdescRight">LE advertisement type (see <a class="el" href="group__wicedbt___legacy.html#ga4f8d298fc8c52ee7b5c7153a4d73ac80" title="Multi-advertisement type.">wiced_bt_ble_multi_advert_type_e</a>) <br /></td></tr>
<tr class="separator:ga9b230bb2ed817386a6067735d397272b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e4090cd2ec534fe59977f6db1e90dc3"><td class="memItemLeft" align="right" valign="top"><a id="ga4e4090cd2ec534fe59977f6db1e90dc3"></a>
typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga4e4090cd2ec534fe59977f6db1e90dc3">wiced_bt_ble_multi_advert_filtering_policy_t</a></td></tr>
<tr class="memdesc:ga4e4090cd2ec534fe59977f6db1e90dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">LE advertisement filtering policy (see <a class="el" href="group__wicedbt___legacy.html#ga1ec420c6d0f772c040c47950fe990751" title="Multi-advertisement Filtering policy.">wiced_bt_ble_multi_advert_filtering_policy_e</a>) <br /></td></tr>
<tr class="separator:ga4e4090cd2ec534fe59977f6db1e90dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga171a4706dce6ec6d118ec688e7dab0a4"><td class="memItemLeft" align="right" valign="top">typedef void()&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga171a4706dce6ec6d118ec688e7dab0a4">wiced_bt_ble_scan_result_cback_t</a>(<a class="el" href="structwiced__bt__ble__scan__results__t.html">wiced_bt_ble_scan_results_t</a> *p_scan_result, uint8_t *p_adv_data)</td></tr>
<tr class="memdesc:ga171a4706dce6ec6d118ec688e7dab0a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback to receive legacy scan results.  <a href="#ga171a4706dce6ec6d118ec688e7dab0a4">More...</a><br /></td></tr>
<tr class="separator:ga171a4706dce6ec6d118ec688e7dab0a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gab38fa8e6fee21aa2f6f1aa9dd1194516"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#gab38fa8e6fee21aa2f6f1aa9dd1194516">wiced_bt_ble_scanner_filter_policy_e</a> { <br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#ggab38fa8e6fee21aa2f6f1aa9dd1194516abb80bf34eb7dbc5843e3a063fa13ce95">BTM_BLE_SCAN_POLICY_ACCEPT_ADV_RSP</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#ggab38fa8e6fee21aa2f6f1aa9dd1194516aaaa07f1c9e02a01a404735aa7e3dc323">BTM_BLE_SCAN_POLICY_FILTER_ADV_RSP</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#ggab38fa8e6fee21aa2f6f1aa9dd1194516aa037daa4cbd1e13dd3c02a1681409eeb">BTM_BLE_SCAN_POLICY_ACCEPT_RPA_DIR_ADV_RSP</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#ggab38fa8e6fee21aa2f6f1aa9dd1194516a88f79a07e8743245b76157d562c83b2e">BTM_BLE_SCAN_POLICY_FILTER_RPA_DIR_ADV_RSP</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#ggab38fa8e6fee21aa2f6f1aa9dd1194516a8b463656cec6650f9bc20272a6cd64f9">BTM_BLE_SCAN_POLICY_MAX</a>
<br />
 }</td></tr>
<tr class="memdesc:gab38fa8e6fee21aa2f6f1aa9dd1194516"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scanner filter policy.  <a href="group__wicedbt___legacy.html#gab38fa8e6fee21aa2f6f1aa9dd1194516">More...</a><br /></td></tr>
<tr class="separator:gab38fa8e6fee21aa2f6f1aa9dd1194516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b68ab04e941d86c922eabbcd4be2322"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga8b68ab04e941d86c922eabbcd4be2322">wiced_bt_dev_ble_evt_type_e</a> { <br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga8b68ab04e941d86c922eabbcd4be2322a4b7d6f85506adea6ae0327a2926ab026">BTM_BLE_EVT_CONNECTABLE_ADVERTISEMENT</a> = 0x00, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga8b68ab04e941d86c922eabbcd4be2322aca82ee6211ba91d3e56a7fc062beba0e">BTM_BLE_EVT_CONNECTABLE_DIRECTED_ADVERTISEMENT</a> = 0x01, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga8b68ab04e941d86c922eabbcd4be2322ae9e302d4b48c6f5d2130b33d24d7702b">BTM_BLE_EVT_SCANNABLE_ADVERTISEMENT</a> = 0x02, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga8b68ab04e941d86c922eabbcd4be2322a91240584862e30f683773c8c7b290018">BTM_BLE_EVT_NON_CONNECTABLE_ADVERTISEMENT</a> = 0x03, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga8b68ab04e941d86c922eabbcd4be2322a78c2c5239edc6b00ebe03fb26a6a142b">BTM_BLE_EVT_SCAN_RSP</a> = 0x04
<br />
 }</td></tr>
<tr class="memdesc:ga8b68ab04e941d86c922eabbcd4be2322"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scan result event type.  <a href="group__wicedbt___legacy.html#ga8b68ab04e941d86c922eabbcd4be2322">More...</a><br /></td></tr>
<tr class="separator:ga8b68ab04e941d86c922eabbcd4be2322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34b1a331548bbc1c737be17e96c862a6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga34b1a331548bbc1c737be17e96c862a6">wiced_bt_ble_multi_advert_start_e</a> { <br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga34b1a331548bbc1c737be17e96c862a6aa628e6c0561dc9d890f0570047dcb64c">MULTI_ADVERT_STOP</a> = 0x00, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga34b1a331548bbc1c737be17e96c862a6ada6f4be134bfa59b25807b2374108378">MULTI_ADVERT_START</a> = 0x01
<br />
 }</td></tr>
<tr class="memdesc:ga34b1a331548bbc1c737be17e96c862a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multi-advertisement start/stop.  <a href="group__wicedbt___legacy.html#ga34b1a331548bbc1c737be17e96c862a6">More...</a><br /></td></tr>
<tr class="separator:ga34b1a331548bbc1c737be17e96c862a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f8d298fc8c52ee7b5c7153a4d73ac80"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga4f8d298fc8c52ee7b5c7153a4d73ac80">wiced_bt_ble_multi_advert_type_e</a> { <br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga4f8d298fc8c52ee7b5c7153a4d73ac80a4dfae4331be3ef8e70a3ba6713afb0d3">MULTI_ADVERT_CONNECTABLE_UNDIRECT_EVENT</a> = 0x00, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga4f8d298fc8c52ee7b5c7153a4d73ac80aa36440c791053044402b1ba6dcdaf9d0">MULTI_ADVERT_CONNECTABLE_DIRECT_EVENT</a> = 0x01, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga4f8d298fc8c52ee7b5c7153a4d73ac80a8d76210cbf4d0dad12a9057d367a524c">MULTI_ADVERT_DISCOVERABLE_EVENT</a> = 0x02, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga4f8d298fc8c52ee7b5c7153a4d73ac80a5e93005b8b6d7a0ba3e7988dde5c6916">MULTI_ADVERT_NONCONNECTABLE_EVENT</a> = 0x03, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga4f8d298fc8c52ee7b5c7153a4d73ac80a817948d93c8c8a8c351948388a2105ec">MULTI_ADVERT_LOW_DUTY_CYCLE_DIRECT_EVENT</a> = 0x04
<br />
 }</td></tr>
<tr class="memdesc:ga4f8d298fc8c52ee7b5c7153a4d73ac80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multi-advertisement type.  <a href="group__wicedbt___legacy.html#ga4f8d298fc8c52ee7b5c7153a4d73ac80">More...</a><br /></td></tr>
<tr class="separator:ga4f8d298fc8c52ee7b5c7153a4d73ac80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ec420c6d0f772c040c47950fe990751"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga1ec420c6d0f772c040c47950fe990751">wiced_bt_ble_multi_advert_filtering_policy_e</a> { <br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga1ec420c6d0f772c040c47950fe990751ad9d0f6c722ecc7071ca229ab568d494f">MULTI_ADVERT_FILTER_POLICY_NOT_USED</a> = 0x00, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga1ec420c6d0f772c040c47950fe990751aa66c04b6565a72295e577d082ca0cc50">MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga1ec420c6d0f772c040c47950fe990751ae0ebb545ed219d89fd2f32bb3876324a">MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_SCANNING</a>, 
<br />
&#160;&#160;<a class="el" href="group__wicedbt___legacy.html#gga1ec420c6d0f772c040c47950fe990751a92e6cef2d690b23cd4b44fbe2d7dc467">MULTI_ADVERT_FILTER_POLICY_USE_FOR_ALL</a> = 0x03
<br />
 }</td></tr>
<tr class="memdesc:ga1ec420c6d0f772c040c47950fe990751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multi-advertisement Filtering policy.  <a href="group__wicedbt___legacy.html#ga1ec420c6d0f772c040c47950fe990751">More...</a><br /></td></tr>
<tr class="separator:ga1ec420c6d0f772c040c47950fe990751"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga572770db7d98fd7cda26073647a3750e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt___legacy.html#ga572770db7d98fd7cda26073647a3750e">wiced_bt_ble_set_legacy_adv_data</a> (uint16_t data_len, uint8_t *p_data)</td></tr>
<tr class="memdesc:ga572770db7d98fd7cda26073647a3750e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends HCI command to write the legacy adv data.  <a href="#ga572770db7d98fd7cda26073647a3750e">More...</a><br /></td></tr>
<tr class="separator:ga572770db7d98fd7cda26073647a3750e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga171a4706dce6ec6d118ec688e7dab0a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga171a4706dce6ec6d118ec688e7dab0a4">&#9670;&nbsp;</a></span>wiced_bt_ble_scan_result_cback_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void() wiced_bt_ble_scan_result_cback_t(<a class="el" href="structwiced__bt__ble__scan__results__t.html">wiced_bt_ble_scan_results_t</a> *p_scan_result, uint8_t *p_adv_data)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback to receive legacy scan results. </p>
<p>Scan result callback (from calling <a class="el" href="group__btm__ble__adv__scan__functions.html#gac2aa0e611a70b09bfc6c4c48b99abb95" title="Start LE scanning.">wiced_bt_ble_scan</a>)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p_scan_result</td><td>: scan result data (NULL indicates end of scanning) </td></tr>
    <tr><td class="paramname">p_adv_data</td><td>: Advertisement data (parse using <a class="el" href="group__btm__ble__adv__scan__functions.html#ga8d62204cf6ab289f977215c08d5864ca" title="Parse advertising data (returned from scan results callback wiced_bt_ble_scan_result_cback_t).">wiced_bt_ble_check_advertising_data</a>)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Nothing </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gab38fa8e6fee21aa2f6f1aa9dd1194516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab38fa8e6fee21aa2f6f1aa9dd1194516">&#9670;&nbsp;</a></span>wiced_bt_ble_scanner_filter_policy_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wicedbt___legacy.html#gab38fa8e6fee21aa2f6f1aa9dd1194516">wiced_bt_ble_scanner_filter_policy_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Scanner filter policy. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab38fa8e6fee21aa2f6f1aa9dd1194516abb80bf34eb7dbc5843e3a063fa13ce95"></a>BTM_BLE_SCAN_POLICY_ACCEPT_ADV_RSP&#160;</td><td class="fielddoc"><p>accept adv packet from all, directed adv pkt not directed to local device is ignored </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab38fa8e6fee21aa2f6f1aa9dd1194516aaaa07f1c9e02a01a404735aa7e3dc323"></a>BTM_BLE_SCAN_POLICY_FILTER_ADV_RSP&#160;</td><td class="fielddoc"><p>accept adv packet from device in filter Accept List, directed adv packet not directed to local device is ignored </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab38fa8e6fee21aa2f6f1aa9dd1194516aa037daa4cbd1e13dd3c02a1681409eeb"></a>BTM_BLE_SCAN_POLICY_ACCEPT_RPA_DIR_ADV_RSP&#160;</td><td class="fielddoc"><p>accept adv packet from all, directed adv pkt not directed to local device is ignored except direct adv with RPA </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab38fa8e6fee21aa2f6f1aa9dd1194516a88f79a07e8743245b76157d562c83b2e"></a>BTM_BLE_SCAN_POLICY_FILTER_RPA_DIR_ADV_RSP&#160;</td><td class="fielddoc"><p>accept adv packet from device in filter Accept List, directed adv pkt not directed to me is ignored except direct adv with RPA </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab38fa8e6fee21aa2f6f1aa9dd1194516a8b463656cec6650f9bc20272a6cd64f9"></a>BTM_BLE_SCAN_POLICY_MAX&#160;</td><td class="fielddoc"><p>Max Scan filter policy value. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga8b68ab04e941d86c922eabbcd4be2322"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b68ab04e941d86c922eabbcd4be2322">&#9670;&nbsp;</a></span>wiced_bt_dev_ble_evt_type_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wicedbt___legacy.html#ga8b68ab04e941d86c922eabbcd4be2322">wiced_bt_dev_ble_evt_type_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Scan result event type. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga8b68ab04e941d86c922eabbcd4be2322a4b7d6f85506adea6ae0327a2926ab026"></a>BTM_BLE_EVT_CONNECTABLE_ADVERTISEMENT&#160;</td><td class="fielddoc"><p>Connectable advertisement. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga8b68ab04e941d86c922eabbcd4be2322aca82ee6211ba91d3e56a7fc062beba0e"></a>BTM_BLE_EVT_CONNECTABLE_DIRECTED_ADVERTISEMENT&#160;</td><td class="fielddoc"><p>Connectable Directed advertisement. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga8b68ab04e941d86c922eabbcd4be2322ae9e302d4b48c6f5d2130b33d24d7702b"></a>BTM_BLE_EVT_SCANNABLE_ADVERTISEMENT&#160;</td><td class="fielddoc"><p>Scannable advertisement. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga8b68ab04e941d86c922eabbcd4be2322a91240584862e30f683773c8c7b290018"></a>BTM_BLE_EVT_NON_CONNECTABLE_ADVERTISEMENT&#160;</td><td class="fielddoc"><p>Non connectable advertisement. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga8b68ab04e941d86c922eabbcd4be2322a78c2c5239edc6b00ebe03fb26a6a142b"></a>BTM_BLE_EVT_SCAN_RSP&#160;</td><td class="fielddoc"><p>Scan response. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga34b1a331548bbc1c737be17e96c862a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga34b1a331548bbc1c737be17e96c862a6">&#9670;&nbsp;</a></span>wiced_bt_ble_multi_advert_start_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wicedbt___legacy.html#ga34b1a331548bbc1c737be17e96c862a6">wiced_bt_ble_multi_advert_start_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multi-advertisement start/stop. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga34b1a331548bbc1c737be17e96c862a6aa628e6c0561dc9d890f0570047dcb64c"></a>MULTI_ADVERT_STOP&#160;</td><td class="fielddoc"><p>Stop Multi-adverstisment. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga34b1a331548bbc1c737be17e96c862a6ada6f4be134bfa59b25807b2374108378"></a>MULTI_ADVERT_START&#160;</td><td class="fielddoc"><p>Start Multi-adverstisment. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga4f8d298fc8c52ee7b5c7153a4d73ac80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f8d298fc8c52ee7b5c7153a4d73ac80">&#9670;&nbsp;</a></span>wiced_bt_ble_multi_advert_type_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wicedbt___legacy.html#ga4f8d298fc8c52ee7b5c7153a4d73ac80">wiced_bt_ble_multi_advert_type_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multi-advertisement type. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga4f8d298fc8c52ee7b5c7153a4d73ac80a4dfae4331be3ef8e70a3ba6713afb0d3"></a>MULTI_ADVERT_CONNECTABLE_UNDIRECT_EVENT&#160;</td><td class="fielddoc"><p>Multi adv Connectable undirected event. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga4f8d298fc8c52ee7b5c7153a4d73ac80aa36440c791053044402b1ba6dcdaf9d0"></a>MULTI_ADVERT_CONNECTABLE_DIRECT_EVENT&#160;</td><td class="fielddoc"><p>Multi adv Connectable directed event. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga4f8d298fc8c52ee7b5c7153a4d73ac80a8d76210cbf4d0dad12a9057d367a524c"></a>MULTI_ADVERT_DISCOVERABLE_EVENT&#160;</td><td class="fielddoc"><p>Multi adv Discoverable event. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga4f8d298fc8c52ee7b5c7153a4d73ac80a5e93005b8b6d7a0ba3e7988dde5c6916"></a>MULTI_ADVERT_NONCONNECTABLE_EVENT&#160;</td><td class="fielddoc"><p>Multi adv NonConnectable event. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga4f8d298fc8c52ee7b5c7153a4d73ac80a817948d93c8c8a8c351948388a2105ec"></a>MULTI_ADVERT_LOW_DUTY_CYCLE_DIRECT_EVENT&#160;</td><td class="fielddoc"><p>Multi adv Low Cycle directed event. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga1ec420c6d0f772c040c47950fe990751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ec420c6d0f772c040c47950fe990751">&#9670;&nbsp;</a></span>wiced_bt_ble_multi_advert_filtering_policy_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wicedbt___legacy.html#ga1ec420c6d0f772c040c47950fe990751">wiced_bt_ble_multi_advert_filtering_policy_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Multi-advertisement Filtering policy. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga1ec420c6d0f772c040c47950fe990751ad9d0f6c722ecc7071ca229ab568d494f"></a>MULTI_ADVERT_FILTER_POLICY_NOT_USED&#160;</td><td class="fielddoc"><p>Multi adv filter filter Accept List not used. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1ec420c6d0f772c040c47950fe990751aa66c04b6565a72295e577d082ca0cc50"></a>MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION&#160;</td><td class="fielddoc"><p>Multi adv filter filter Accept List for scan request. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1ec420c6d0f772c040c47950fe990751ae0ebb545ed219d89fd2f32bb3876324a"></a>MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_SCANNING&#160;</td><td class="fielddoc"><p>Multi adv filter filter Accept List for connection request. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1ec420c6d0f772c040c47950fe990751a92e6cef2d690b23cd4b44fbe2d7dc467"></a>MULTI_ADVERT_FILTER_POLICY_USE_FOR_ALL&#160;</td><td class="fielddoc"><p>Multi adv filter filter Accept List for all. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga572770db7d98fd7cda26073647a3750e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga572770db7d98fd7cda26073647a3750e">&#9670;&nbsp;</a></span>wiced_bt_ble_set_legacy_adv_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a> wiced_bt_ble_set_legacy_adv_data </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>data_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends HCI command to write the legacy adv data. </p>
<dl class="section note"><dt>Note</dt><dd>This API allows sending data formatted with <a class="el" href="group__wicedbt___common.html#ga3b316e86fd3f2291d95f5f304f1af311">wiced_ble_adv_data_build</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data_len</td><td>- length of the adv data to use, max size 31 bytes </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_data</td><td>- pointer to the adv data to use</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_bt_dev_status_t <b> WICED_BT_SUCCESS </b> : If all extended adv data set successfully<br />
<b> WICED_BT_ILLEGAL_VALUE </b> : If paramer is wrong <br />
<b> WICED_BT_UNSUPPORTED </b> : If command not supported <br />
<b> WICED_BT_NO_RESOURCES </b> : If no memory to issue the command <br />
<b> WICED_BT_PENDING </b> : If command queued to send down <br />
</dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
